// 登录相关的接口
//@ts-ignore 
import request from "@/utils/request";
enum API {
  LOGIN_URL = "/company/main/subLogin",
}
// 登录接口
export const reqLogin = (data: any) =>
  request.post<any, any>(API.LOGIN_URL, data);
// // 获取用户信息
// export const reqUserInfo = () =>
//   request.get<any, userInfoReponseDate>(API.USERINFO_URL);
// // 退出登录
// export const reqLogout = (data: any) =>
//   request.post<any, any>(API.LOGOUT_URL, data);
